package com.glory.hikvisionmobile.bean.Login;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class LoginInfoBean implements Serializable {

    private String userName;//工号

    private String desription;//姓名

    private List<AuthoritysBean> authoritys;

    public String getUserName() {
        return userName == null ? "" : userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDescription() {
        return desription == null ? "" : desription;
    }

    public void setDescription(String description) {
        this.desription = description;
    }

    public List<AuthoritysBean> getAuthoritys() {
        if (authoritys == null) {
            return new ArrayList<>();
        }
        return authoritys;
    }

    public void setAuthoritys(List<AuthoritysBean> authoritys) {
        this.authoritys = authoritys;
    }
}
